

import 'package:flutter_util_code/utils.dart';
import 'package:package_info/package_info.dart';

class FoDeviceTool{

  static Future<String> get buildNumber async{
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    return packageInfo.buildNumber;
  }

  static Future<String> get appVersion async{
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    return packageInfo.version;
  }

  static Future<String> get packName async{
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    return packageInfo.packageName;
  }



}